<template>
  <div id="userlayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <a-sapce>
          <img src="../assets/dzkj.png" class="logo" />
          <div class="title">HKU Code Online Judge System</div>
        </a-sapce>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">--Our Project--</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<style scoped>
#userlayout {
  background: url(../assets/173312-jian_yue-zi_luo_lan_se-he_yin_ying_de_se_cai-dian_lan_se_de-pin_hong_se-550x310.png)
    no-repeat;
  background-size: 100% 100%;
}
#userlayout .logo {
  width: 280px;
  height: 64px;
}
#userlayout .header {
  text-align: center;
  margin-bottom: 16px;
  margin-top: 16px;
}
#userlayout .title {
  font-size: larger;
  font-weight: 900;
}
#userlayout .content {
  margin-bottom: 16px;
  padding: 20px;
}
#userlayout .footer {
  background-color: #ffffff;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  box-shadow: #eee 1px 1px 5px;
  color: #aaaaaa;
}
</style>
